package com.pshcp.domain.model;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import java.util.Date;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 患者在线订单关联病历
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_patient_online_medical_records")
public class PatientOnlineMedicalRecords implements Serializable {

    private static final long serialVersionUID=1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 在线咨询单id
     */
    private Long patientOnlineOrderId;
    /**
     * 患者id
     */
    private Long patientUserId;
    /**
     * 就诊人id
     */
    private Long patientId;
    /**
     * 就诊人名称
     */
    private String patientName;
    /**
     * 基本健康信息
     */
    private String baseHealthContent;

    /**
     * 病情描述
     */
    private String illnessDescription;

    /**
     * 就诊资料上传
     */
    private String medicalInformationPath;

    /**
     * 就诊日期
     */
    private String schDate;

    /**
     * 状态 0正常 1删除
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
